.vip_page {
  background: #F8F8F8;
  .vip_top {
    background: url($imgPath + '/member/member_bg.png') no-repeat center rem(-80);
    background-size: cover;
    .vip_info {
      padding: rem(100) rem(59) rem(50) rem(30); position: relative;
      @extend .p-clear-float;
      .vip_img {
        float: left;
        img {
          height: rem(90); width: rem(90);
        }
      }
      .vip_user {
        float: left; margin-left: rem(30); color: #fff;
        max-width: rem(340);
        h3 {
          font-size: rem(34);
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          display: inline-block;
          max-width: rem(500);
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          box-sizing: border-box;
        }
        .lev_icon {
          margin-top: rem(9);
          img {
            width: rem(120);
          }
        }
      }
      .date_vip {
        position: absolute; right: rem(30); top: rem(100); text-align: right;
        .vip_btn {
          width:rem(70);
          height:rem(70);
          background: url($imgPath + '/member/vip_btn.png') no-repeat top center;
          background-size: cover;
          display: inline-block;
        }
        .date_text {
          color:rgba(193,193,193,1); line-height:rem(28);
          margin-top: rem(30);
        }
      }
      .invite_icon {
        display: inline-block; width: rem(230); height: rem(70);
        background: url($imgPath + '/member/invite_icon.png') no-repeat top center;
        background-size: cover;
        position: absolute; right: rem(20); top: rem(170);
      }
    }
    .account_panl {
      width: rem(690); height: rem(305);
      background: url($imgPath + '/member/account_bg.png') no-repeat top center;
      background-size: cover;
      margin: auto;box-shadow: 0 rem(6) rem(28) 0 rgba(188, 188, 188, 0.5); border-radius: rem(5);
      .account {
        padding: rem(30);
        h3 {
          font-size: rem(24); color: #999999;
          position: relative; height: rem(40); line-height: rem(40); display: table; font-weight: 500;
          span {
            width: rem(30); height: rem(30); display: block;
            position: absolute; right: rem(-40); top: rem(5);
            background: url($imgPath + '/common/tips.png') center no-repeat;
            background-size: contain;
          }
        }
        .account_total {
          margin-top: rem(10); display: flex; justify-content: flex-start; align-items: center;
          h3 {
            font-size: rem(56); color: #CB9956; font-weight: 500;
            height: rem(60); line-height: rem(60);
          }
          p {
            font-weight:500; color:#C5C5C5; font-size: rem(24); height: rem(24);
            padding-left: rem(20);
          }
          img {
            width: rem(25); height: rem(18); display: inline-block; padding-left: rem(6);
            position: relative; top: rem(5);
          }
        }
        .account_info {
          // display: flex;  flex-direction: row; justify-content: space-between; margin-top: rem(30);
          // align-items: center;
          // padding: 0 rem(6);
          // .account_item {
          //   h3 {
          //     font-size: rem(28); color: #333333; font-weight: 600;
          //   }
          //   p {
          //     font-size: rem(22); color: #999999; margin-top: rem(7); font-weight: 300;
          //     display: table; position: relative;
          //     span {
          //       position: absolute;   top: rem(-10); right: rem(-72);
          //       width: rem(72); height: rem(46);
          //       background: url($imgPath + '/member/getout_icon.png') no-repeat center;
          //       background-size: cover;
          //     }
          //   }
          //   &:nth-child(3) {
          //     width: rem(180);
          //   }
          //   &:nth-child(5) {
          //     width: rem(140);
          //   }
          // }
          // .account_hr {
          //   width: 1px; height: rem(40); background: #E5E5E5;
          // }
          margin-top: rem(15);
          p {
            font-size: rem(22); color: #666666;
            span {
              display: inline-block; margin-left: rem(15); color: #E92746;
            }
          }
        }
        .account_withdraw {
          padding-top: rem(50); display: flex; justify-content: space-between; align-items: center;
          .withdraw_total {
            font-size: rem(22); color: #666666;
            .money {display: inline-block; margin-left: rem(15);}
          }
          .withdraw_btn {
            display: inline-block; padding: rem(7) rem(28); border: 1px solid #ADADAD;
            border-radius: rem(20);
          }
        }
      }
    }
  }
  .member_right {
    width: rem(690);
    background: url($imgPath + '/member/member_right_bg.png') no-repeat center;
    background-size: contain;
    margin: rem(20) auto;
    .rights {
      padding: rem(22) rem(28); display: flex; justify-content: space-between; align-items: center;
      div {
        position: relative;
        p {
          font-size: rem(24); color: #F3E5CA; display: inline-block;
        }
        &:nth-child(1) {
          img { width: rem(42); height: rem(38); position: absolute; top: rem(-4);}
        }
        &:nth-child(2) {
          img {height: rem(20); position: absolute; top: rem(8); right: rem(0);}
        }
      }
      .rights_l {
        p {
          padding-left: rem(45);
        }
      }
      .rights_r {
        p {
          padding-right: rem(30);
        }
      }
    }
  }
  .vip_ads {
    margin-top: rem(30);
    img {
      height: rem(170); width: rem(750);
    }
  }
  .bank {
    height: rem(20); background: #EDEFF2;
  }
  .vip_item {
    width: rem(690); margin: auto; background: #fff; margin-bottom: rem(20); border-radius: rem(15);
    .item_title {
      padding: rem(30); font-size: rem(28); color: #17273A;
      border-bottom: 1px solid rgba(229, 229, 229, .5);
      position: relative;
      span {
        position: absolute; right: rem(30);
      }
      &.sales_top {
        span {
          font-size: rem(24); color: #17273A; font-weight: 500;
          &:before {
            content: ''; display: block; width: rem(30); height: rem(30);
            position: absolute; left: rem(-45); background: url($imgPath + '/common/checkbox_n.png') no-repeat center;
            background-size: 100%;
          }
          &.checked {
            &:before {
              background: url($imgPath + '/member/order_btn.png') no-repeat center;
              background-size: 100%;
            }
          }
        }
      }
      &.team_top {
        span {
          color: #999; font-size: rem(24); font-weight: 500;
          padding-right: rem(40);
          &:after {
            content: ''; display: block; height: rem(40); width: rem(40);
            background: url($imgPath + "/icon/arrow-right.png") no-repeat center; background-size: contain;
            position: absolute; right: 0; top: rem(-5);
          }
        }
      }
    }
    .sales {
      .van-hairline--top-bottom {
        &:after {
          border-bottom: 1px solid rgba(229, 229, 229, 1); border-top: none
        }
      }
      .sales_item {
        @extend .p-clear-float;
        ul {
          li {
            width: 50%; float: left; text-align: center;color: #17273A; align-items: center; display: flex; flex-direction:column;
            padding: rem(50) 0;
            h3 {
              font-size: rem(32);
            }
            p {
              font-size: rem(24); margin-top: rem(3); color: #666666;
            }
          }
        }
      }
    }
    .my_team {
      @extend .p-clear-float;
      ul {
        li {
          width: 50%; float: left; text-align: center;color: #17273A; align-items: center; display: flex; flex-direction:column;
          padding: rem(50) 0;
          h3 {
            font-size: rem(32);
          }
          p {
            font-size: rem(24); margin-top: rem(3);
          }
          &.fans_tips {
            p {
              position: relative; padding-right: rem(40);
              .tips {
                width: rem(30);
                height: rem(30);
                background: url('https://mjmh.meijiameihuo.com/wechat/images/common/tips.png') no-repeat center;
                background-size: contain;
                display: block;
                position: absolute;
                right: rem(0);
                top: rem(3);
              }
            }
          }
        }
      }
    }
    .business-school-banner {
      padding: rem(30);

    }
    .me_quity {
      padding: rem(30);
      font-size: rem(24);
      color: #666666;
      .equity_item {
        text-align: center;
        img {
          width: rem(88);
          height: rem(88);
          display: block;
          margin: auto;
        }
        span {
          margin-top: rem(10);
          display: block;
        }
      }
    }
    .m_top {
      margin-top: rem(55);
    }
  }
  .member_details {
    width: rem(690); margin: auto; margin-bottom: rem(20);
    display: flex; justify-content: space-between;
    .already_fans, .already_member {
      width: rem(335); background: #fff; border-radius: rem(15);
      .already_fans_top {
        padding: rem(30);
        display: flex; justify-content: space-between; align-items: center; padding-bottom: rem(30);
        border-bottom: 1px solid #E5E5E5;
        p {color: #17273A; font-size: rem(28); font-weight:500;}
        img { width: rem(20); height: rem(20);}
      }
      .already_fans_bottom {
        padding: rem(30);
        display: flex; justify-content: space-between;
        div {
          text-align: center;
          h3 {
            font-size: (32); color: #17273A;
          }
          p {
            font-size: rem(22); color: #666666; padding-top: rem(10);
          }
          .today { color: #E91F3F; }
        }
      }
    }
  }
  .my_coupon {
    width: rem(690); margin: auto; margin-bottom: rem(20); background: #fff; border-radius: rem(15);
    .my_coupon_top {
      display: flex; justify-content: space-between; align-items: center; padding: rem(30);
      p { font-size: rem(28); color: #17273A;}
      .my_coupon_more {
        display: flex; justify-content: flex-start; align-items: center;
        p { font-size: rem(24); color: #999999; }
        img { width: rem(20); height: rem(20);}
      }
    }
    .my_coupon_bottom {
      .my_coupon_content {
        padding: rem(10) 0 rem(55) rem(30);
        white-space:nowrap; width: auto;
        -webkit-overflow-scrolling: touch; //有回弹效果
        overflow: scroll;
        &::-webkit-scrollbar { width: 0; height: 0; display: none; }
        .coupon_card {
          width: rem(460); height: rem(170); display: inline-block; margin-right: 20px;
          background: url($imgPath + '/member/my_coupon_bg.png') center no-repeat;
          background-size: contain;
          .coupon_card_left {
            padding: rem(40) 0; float: left; width: rem(180); text-align: center;
            position: relative;
            p {
              display: inline-block; font-size: rem(72); color: #17273A;
              span { font-size: rem(24);}
            }
            .corner_marker {
              display: inline-block; padding: rem(4) rem(8);
              background:#473B22;
              font-size: rem(18); color: #F3E5CA; border-radius: 0 rem(10) rem(10) 0;
              position: absolute; top: rem(15); left: rem(1);
            }
          }
          .coupon_card_right {
            float: left; text-align: left; padding: rem(38) rem(10) rem(38) rem(30); width: rem(235);
            p {
              font-size: rem(32); color: #17273A;
              overflow: hidden; text-overflow:ellipsis; white-space: nowrap;
              &:nth-child(2) {
                font-size: rem(18); color: #A1A09F; padding-top: rem(10);
              }
            }
          }
         }
      }
    }
  }
  .member_welfare {
    width: rem(690); margin: auto; margin-bottom: rem(20); background: #fff; border-radius: rem(15);
    .member_welfare_top {
      padding: rem(25); text-align: center; position: relative;
      p { font-size: rem(28); color: #17273A; z-index: 2; position: relative;}
      .member_welfare_top_bg {
        display: inline-block; background: #F3E5CA; width: rem(175); height: rem(10);
        position: absolute; top: rem(45); z-index: 1; left: rem(258);
      }
    }
    .member_welfare_bottom {
       padding: 0 rem(15) rem(20) rem(15);
      .member_product_content {
        display: flex; flex-wrap: wrap;
        .member_welfare_product {
          width: rem(208); margin-bottom: rem(20);
          img { width: rem(208); height: rem(208);}
          .product_name {
            font-size: rem(22); color: #17273A; font-weight:500; margin-top: rem(10);
            height: rem(60); overflow: hidden; -overflow: ellipsis; line-height: rem(30);
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
          }
          .coupon { display: inline-block; font-size: rem(20); color: #E91F3F; border: 1px solid #E91F3F; padding: rem(2) rem(4); margin: rem(15) 0; border-radius: rem(5);}
          .no_coupon { display: inline-block; margin: rem(15) 0; height: rem(32);}
          .price {
            font-size: rem(28); color: #17273A; span {color: #E91F3F;}
            height: rem(40); overflow: hidden; -overflow: ellipsis;
            display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
          }
          &:nth-child(3n-1) {
            padding: 0 rem(15);
          }
        }
      }
      .member_product_ramdom {
        animation: bounceInLeft 1s 1 cubic-bezier(0.215, 0.610, 0.355, 1.000);
        @keyframes bounceInLeft {
          0% {
            transform: translate3d(200px, 0, 0);
          }
          60% {
            // opacity: 1;
            transform: translate3d(0px, 0, 0);
          }
          75% {
            transform: translate3d(0px, 0, 0);
          }
          90% {
            transform: translate3d(0px, 0, 0);
          }
          100% {
            transform: none;
          }
        }
      }
      .member_product_btn {
        padding: rem(20) 0; text-align: center;
        p { display: inline-block; padding: rem(7) rem(28); border: 1px solid #B99C62; font-size: rem(22);
          color: #B99C62; border-radius: rem(22);
        }
      }
    }
  }
}
